package com.yuqing.myblogServe.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author lyq
 * @date 2023/12/7
 **/

@Data
public class ArticleLikesRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 文章id
     */
    private String articleId;

    /**
     * 点赞者id
     */
    private Long likerId;

    /**
     * 点赞者id
     */
    private LocalDateTime likeDate;
    /**
     * 是否点赞
     */
    private int isRead;

}
